/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.behavioral.interpreter.conf;

import java.beans.Expression;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.behavioral.interpreter.Evaluator;

/**
 *
 * @author 210017252
 */ 
@Configurable
public class InterpreterConf {
    
    String exp="w x z - +"; 
    
    @Bean 
    public Evaluator evaluator(){
    return new Evaluator(exp);
    }  
    
}
